.home-news__slider{
    display:flex;
    gap:20px;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:10px;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.home-news__slider::-webkit-scrollbar{
    display:none;
}

.home-news-card{
    position:relative;
    width:380px;
    height:260px;
    flex:0 0 380px;
    overflow:hidden;
    border-radius:24px;
    cursor:pointer;
}

.home-news-card__image{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.home-news-card__overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.42),
        rgba(0,0,0,.08)
    );
    transition:background .3s ease;
    z-index:1;
}

.home-news-card__content{
    position:absolute;
    left:20px;
    right:20px;
    bottom:20px;
    z-index:2;
    color:white;
    transition:transform .3s ease;
}

.home-news-card:hover .home-news-card__image{
    transform:scale(1.06);
}

.home-news-card:hover .home-news-card__overlay{
    background:linear-gradient(
        to top,
        rgba(0,0,0,.65),
        rgba(0,0,0,.25)
    );
}

.home-news-card:hover .home-news-card__content{
    transform:translateY(-4px);
}

.home-news-card__content h3{
    margin:0 0 10px;
    font-size:24px;
    font-weight:700;
}

.home-news-card__content p{
    margin:0;
    font-size:14px;
    opacity:.9;
}

.home-news-card__buttons{
    margin-top:16px;
}

.home-news-card__buttons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:999px;
    background:white;
    color:#111;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.home-news-card:hover .home-news-card__buttons a{
    background:#f97316;
    color:white;
}

@media(max-width:768px){
    .home-news{
        margin:45px 0;
    }

    .home-news-card{
        width:270px;
        height:190px;
        flex-basis:270px;
    }

    .home-news-card__content h3{
        font-size:20px;
    }
}